package com.runtu.infrastructure.dao;

import com.runtu.infrastructure.dao.po.NotifyTask;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ClassName INotifyTaskDao
 * @Description 回调任务
 * @date 2025/8/15 22:00
 * @Version 1.0
 */
@Mapper
public interface INotifyTaskDao {

    /*插入刚刚完成的拼单，传参是PO:NotifyTask */
    void insertNotifyTask(NotifyTask notifyTask);


    List<NotifyTask> queryUnExecutedNotifyTaskList();

    NotifyTask queryUnExecutedNotifyTaskByTeamId(String teamId);

    int updateNotifyTaskStatusSuccess(String teamId);

    int updateNotifyTaskStatusError(String teamId);

    int updateNotifyTaskStatusRetry(String teamId);



}
